Documents for PDF, .NET Edition Documentation
PdfEnum<TEnum> Structure
Members 

GrapeCity.Documents.Pdf Assembly > GrapeCity.Documents.Pdf Namespace : PdfEnum<TEnum> Structure
Represents a PDF enumeration type.
Object Model
PdfEnum<TEnum> Structure
Syntax
'Declaration
 
Public Structure PdfEnum(Of TEnum As {New, Struct}) 
   Inherits System.ValueType
public struct PdfEnum<TEnum> : System.ValueType 
where TEnum: new(), struct
Type Parameters
TEnum
Remarks

The PDF Specification defines many propertes with values represented by a limited set of predefined values. Such values are stored as PDF name objects, which is very similar to enumerations in C#.

But there are many PDF documents in which some of such properties have arbitrary custom values that are not defined in the PDF specification.

GcPdf uses this struct when processing such values. Where possible, the value is converted to the underlying enum type TEnum, otherwise the original string value is preserved.

Inheritance Hierarchy

System.Object
   System.ValueType
      GrapeCity.Documents.Pdf.PdfEnum<TEnum>

See Also

Reference

PdfEnum<TEnum> Members
GrapeCity.Documents.Pdf Namespace